package cn.com.nes.mybatis.agent.crm.mapper;

import cn.com.nes.mybatis.agent.crm.entity.OpportunityDeviceModel;
import cn.com.nes.site.service.crm.opportunity.bo.OpportunityDeviceModelBo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OpportunityDeviceModelMapper extends BaseMapper<OpportunityDeviceModel> {

    void deleteByOpportunity(@Param("bo") OpportunityDeviceModelBo opportunityDeviceModelBo);


    List<OpportunityDeviceModel> getDeviceModels(@Param("opportunityUuid") String opportunityUuid);

}




